<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        病案详情
    </title>
    <style>
        body{background-color: #f9f9f9;
            /*border: 1px red solid;*/
            padding-botton:50px;
        }
        .zhuyuan {
            /*border: 1px red solid;*/
            padding-left: 50px;
        }

        .topTitle {
            font-size: 20px;
            line-height: 50px;
            text-align: center;
        }

        .xiangqing span {
            margin-left: 20px;
            line-height: 30px
        }
    </style>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../css/x-admin.css" media="all">
    <link rel="stylesheet" href="../css/pag.css" media="all">
</head>
<body>
<div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>门诊病案列表</cite></a>
              <a><cite>门诊病案详情</cite></a>
            </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
       href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon"
                                                                        style="line-height:30px">ဂ</i></a>
</div>
<div class="doRecord">
    <div class="topTitle">
        <strong>门诊病案详情</strong>
    </div>
        <div class="x-body">
            <table class="tablelist" style="width: 500px" align="center">
                <thead>
                <tr>
                    <th>病&nbsp;&nbsp;案&nbsp;&nbsp;号：</th>
                    <th>${fomulary.uId}</th>
                </tr>
                <tr>
                    <th>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</th>
                    <th>${fomulary.yiName}</th>
                </tr>
                <tr>
                    <th>年龄：</th>
                    <th>${fomulary.yiNew}</th>
                </tr>
                <tr>
                    <th>就诊时间：</th>
                    <th>
                        <fmt:formatDate value="${fomulary.yiZhiXingTime}"/>
                    </th>
                </tr>
                <tr>
                    <th>科室：</th>
                    <th>${fomulary.keishi}</th>
                </tr>
                <tr>
                    <th>医师签名：</th>
                    <th>${fomulary.yiQianMing}</th>
                </tr>
                <tr>
                    <th>门诊医嘱记录：</th>
                    <th>${fomulary.yiZhu}</th>
                </tr>
                <tr>
                    <th>复诊医生签名：</th>
                    <th>${fomulary.fuchaYisheng}</th>
                </tr>
                <tr>
                    <th>复诊医嘱内容：</th>
                    <th>${fomulary.fuyiZhu}</th>
                </tr>
                <tr>
                    <th>复诊时间：</th>
                    <th>${fomulary.updaTime}</th>
                </tr>
                </thead>
            </table>
        </div>

</div>

<div class="x-body">
    <div class="topTitle">
        <strong>放射科检验报告</strong>
    </div>
    <table class="tablelist">
        <thead>
        <tr>
            <th>日期</th>
            <th>检验图</th>
            <th>检查结果</th>
            <th>执行医师</th>
        </tr>
        </thead>
        <tbody>
        <%--<c:forEach var="yz" items="${fskByUid}">--%>
            <tr>
                <td>
                    <fmt:formatDate value="${fskByUid.fTime}" pattern="YYYY-MM-dd"/>
                </td>
                <td>
                    <c:if test="${fskByUid.fPath!= null}"><img width="56" height="56" src="${fskByUid.fPath}"></c:if>
                </td>
                <td>${fskByUid.fCondition}</td>
                <td>${fskByUid.yishi}</td>
            </tr>
        </tbody>
    </table>
</div>

<div class="x-body">
    <div class="topTitle">
        <strong>检验科检验报告</strong>
    </div>
    <table class="tablelist">
        <thead>
        <tr>
            <th>日期</th>
            <th>检验项目</th>
            <th>检查结果</th>
            <th>医嘱</th>
            <th>执行医师</th>
        </tr>
        </thead>
        <tbody>
        <%--<c:forEach var="yz" items="${zuyuanyzs}">--%>
            <tr>
                <td><fmt:formatDate value="${jykByUid.updateTime}" pattern="YYYY-MM-dd"/> </td>
                <td>${jykByUid.jFangShi}</td>
                <td>${jykByUid.jJieGuo}</td>
                <td>${jykByUid.yYiZhu}</td>
                <td>${jykByUid.yiShi}</td>
            </tr>
        <%--</c:forEach>--%>
        </tbody>
    </table>


</div>
<div class="x-body">
    <div class="topTitle">
        <strong>功能科检验报告</strong>
    </div>
    <table class="tablelist">
        <thead>
        <tr>
            <th>日期</th>
            <th>功能类别</th>
            <th>检查结果</th>
            <th>医嘱</th>
            <th>执行医师</th>
        </tr>
        </thead>
        <tbody>
            <tr>
                <td><fmt:formatDate value="${gnkByUId.gtime}" pattern="YYYY-MM-dd"/> </td>
                <td>
                    <c:if test="${gnkByUId.gleibie eq 1}">组织结构变化</c:if>
                    <c:if test="${gnkByUId.gleibie eq 2}">电生理异常</c:if>
                    <c:if test="${gnkByUId.gleibie eq 3}">血液动力学改变</c:if>
                    <c:if test="${gnkByUId.gleibie eq 4}">脏器功能情况</c:if>
                </td>
                <td>${gnkByUId.gjieguo}</td>
                <td>${gnkByUId.gyizhu}</td>
                <td>${gnkByUId.gyishi}</td>
            </tr>
        </tbody>
    </table>

    <div class="providerAddBtn" align="center" style="padding-bottom: 40px">
        <span><button class="layui-btn" lay-submit="" ><a href="/seeBingAn/bingan" style="color: #fff">返回</a></button></span>
    </div>
</div>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
<script src="../js/x-layui.js" charset="utf-8"></script>
<script src="../js/jquery2.js" charset="utf-8"></script>
<script src="../js/js.js" charset="utf-8"></script>
<script>
    layui.use(['laydate', 'element', 'laypage', 'layer'], function () {
        $ = layui.jquery;//jquery
        lement = layui.element();//面包导航
        laypage = layui.laypage;//分页
        layer = layui.layer;//弹出层
    });
    function tianjiayizhu(title,url,id,w,h){
        x_admin_show(title,url,w,h);
    }
</script>
</body>
</html>